package a.h;

import javax.swing.*;
import javax.swing.table.DefaultTableCellRenderer;
import javax.swing.table.TableCellRenderer;
import java.awt.*;

final class yb
  implements ListCellRenderer, TableCellRenderer, cd.t_
{
  private ListCellRenderer a = this.c;
  private TableCellRenderer b = this.d;
  private final ListCellRenderer c = new DefaultListCellRenderer();
  private final TableCellRenderer d = new DefaultTableCellRenderer();
  private tb e;
  
  public ListCellRenderer b()
  {
    return this.a;
  }
  
  public void a(ListCellRenderer paramListCellRenderer)
  {
    if (paramListCellRenderer == null)
    {
      if (ec.t != 0) {
        break label26;
      }
      this.a = this.c;
      if (!ec.s) {
        return;
      }
    }
    label26:
    this.a = paramListCellRenderer;
  }
  
  public Component getListCellRendererComponent(JList paramJList, Object paramObject, int paramInt, boolean paramBoolean1, boolean paramBoolean2)
  {
    if (paramObject == ec.b) {
      return this.c.getListCellRendererComponent(paramJList, null, paramInt, paramBoolean1, paramBoolean2);
    }
    return this.a.getListCellRendererComponent(paramJList, paramObject, paramInt, paramBoolean1, paramBoolean2);
  }
  
  public TableCellRenderer c()
  {
    return this.b;
  }
  
  public void a(TableCellRenderer paramTableCellRenderer)
  {
    this.b = paramTableCellRenderer;
  }
  
  public Component getTableCellRendererComponent(JTable paramJTable, Object paramObject, boolean paramBoolean1, boolean paramBoolean2, int paramInt1, int paramInt2)
  {
    if (paramObject == ec.b) {
      return this.d.getTableCellRendererComponent(paramJTable, null, paramBoolean1, paramBoolean2, paramInt1, paramInt2);
    }
    return this.b.getTableCellRendererComponent(paramJTable, paramObject, paramBoolean1, paramBoolean2, paramInt1, paramInt2);
  }
  
  public void a(tb paramtb)
  {
    int i = ec.t;
    this.e = paramtb;
    if (i == 0) {
      if ((this.d instanceof cd.t_)) {
        ((cd.t_)this.d).a(paramtb);
      }
    }
    if (i == 0) {
      if ((this.b instanceof cd.t_)) {
        ((cd.t_)this.b).a(paramtb);
      }
    }
    if (i == 0) {
      if ((this.c instanceof cd.t_)) {
        ((cd.t_)this.c).a(paramtb);
      }
    }
    if ((i != 0) || ((this.a instanceof cd.t_))) {
      ((cd.t_)this.a).a(paramtb);
    }
  }
  
  public tb a()
  {
    return this.e;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.h.yb

 * JD-Core Version:    0.7.0.1

 */